import request from '@/utils/request'
export function fetchList(data) {
  return request({
    url:'/fl-admin/advancedSearchOrders',
    method:'post',
    data
  })
}

//获取订单详情
export function fetchOrderDetail(params) {
  return request({
    url:'/fl-bookOrder/serachOrderByOrderId/'+params,
    method:'get',
    
  })
}

//订单发货
export function sendOrder(params) {
  return request({
    url:'/fl-admin/orderDispatch',
    method:'post',
    data:params
  })
}

//删除订单
export function deleteOrder(params) {
  return request({
    url:'/fl-admin/deleteBatchOrder',
    method:'delete',
    params:params
  })
}



